import {
  WRITE_USER,
  WRITE_ROLE,
  ADD_STORE_INFO,
  ADD_ORDER_CONDITION,
  ADD_DEVICE_INFO
} from "./mutation-types.js";


export default {
  [WRITE_USER](state,payload) {
    state.userInfo = payload
  },
  [WRITE_ROLE](state,payload) {
    state.roleInfo = payload
  },
  [ADD_STORE_INFO](state,payload) {
    state.addStoreInfo = payload
  },
  [ADD_ORDER_CONDITION](state,payload) {
    state.orderCondition = payload
  },
};
